package application.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "standards")
public class StandardsModel
{
    private List<StandardModel> standardModels = new ArrayList<StandardModel>();

    @XmlElement(name = "standard")
    public List<StandardModel> getStandardModels()
    {
        return standardModels;
    }

    public void setStandardModels(List<StandardModel> standardModels)
    {
        this.standardModels = standardModels;
    }

    public void addStandard(StandardModel standardModel)
    {
        standardModels.add(standardModel);
    }
}
